/*
 * AGENT SHERPA
 *  
 * Assignement 2 of the Agent Oriented Software Engineering Course
 * M.Sc. in Advanced Software Engineering (Part-time)
 * University College Dublin www.ucd.ie
 *
 * Copyright (c) 2007 Chris Walsh, Aidan Morrisy and Iain Hull.
 * All rights reserved.
 * 
 * Filename: Main.aps
 * Author:   iain
 * Date:     06 February 2008
 */

package org.agentsherpa.model;

/**
 * Special mutable Point class for use by Model classes in tight loops.
 * 
 * @author iain
 */
class WritablePoint extends Point {
    WritablePoint(int x, int y) {
        super(x,y);
    }
    
    WritablePoint(Point p) {
        super(p.x,p.y);
    }
    
    public void setX(int x) {
        this.x = x;
    }

    public void setY(int y) {
        this.y = y;
    }
}